home *** CD-ROM | disk | FTP | other *** search
- Subject: Gem List
- Subject: Getting right mouse button clicks
- Subject: Hot Tracking, and other digestion
- Subject: Re: Gem List
- Date: Wed, 27 Jul 94 20:59 EST
- From: "Daniel J. Hollis" <0006795560@mcimail.com>
- To: ems <gem-list@world.std.com>
- Subject: Gem List
- Message-Id: <75940728015957/0006795560PK1EM@mcimail.com>
- Precedence: bulk
-
- Subject: Getting right mouse button clicks
-
- David:
- ------
- > What I need is Right mouse button clicks AND double-left-click information.
- > Possible?
-
- To get right mouse button clicks, simply use vq_mouse and get the correct
- information from VDI, or use event_dclick for the double click information.
-
- > For the moment I'm using the mouse event grabbing technique, simply turning
- > it on when I'm in the section of window which needs RMB detection and off
- > otherwise.
-
- This works, but you have to enable BOTH button DOWN flags, and you need to
- set the number of clicks to 1. However, you could use 2, but this is
- not recommended, as AES will be forced to wait for two mouse clicks, and will
- not stop at one.
-
- -- Ken Hollis (Bitgate Software)
- -----
- Subject: Hot Tracking, and other digestion
-
- Warwick:
- --------
- > This opens up a large relm of possibilities if this can become a common
- > feature of GEM applications:
-
- You've mentioned some interesting ideas, almost all of which I agree on.
- Although, I have a question about this:
-
- > 1. Point-to-type
-
- I hope not... What happens if the mouse is bumped on accident when the
- user is typing? This can be extremely frustrating, especially for those of
- us who are fortunate enough to have a STacy or those of us with more than
- one cat. :-)
-
- > 3. Pointer-form change
-
- Good idea.
-
- > 4. Balloon help (ala Mac)
-
- *EXCELLENT* idea. But, this could even be added to a "status" bar inside
- a window. I think you could put a form in the window at the very bottom,
- and have something like ChangeStatusText(window, "text") on a dialog button
- activation, or when the mouse pointer is over an object. This would make
- things very nice, and easy to work with. Of course, it's your choice,
- but it's a good idea, any how.
-
- > Yet, it *is* GEM.
-
- Anything dealing with AES is considered GEM. :-P
-
- > So the question is, should or should not newer applications exploit more
- > and more of GEM's features, such as rectangle lists?
-
- Good question. I for one support the idea of rectangle lists, and am about
- to add them in my program, particularly for scrollable dialog boxes (for
- those of us who are unfortunate to have a small viewing screen...)
-
- > Should they Iconize windows?
- > Should they use dialogs-in-windows?
- > Should they use the extended (titled) file selector call?
-
- These should all be standards, IMHO.
-
- (See, we CAN agree on some things! :)
-
- -- Ken Hollis (Bitgate Software)
- -----
- Subject: Re: Gem List
-
- Kevin:
- ------
- > Surely its as simple as not checking for WM_TOPPED messages for it in
- > your event loop. If you're doing it as part of a library then simply attach
- > a flag to your window structure to indicate this and check against it in
- > the event loop.
-
- No. It IS that easy. Simply trap the WM_TOPPED message. All you have to
- do when you receive it is to:
-
- If the button is no longer pressed when you process the message, top the
- window. This means that the button was tapped on the window with the intent
- to bring it to the front.
-
- If the button is pressed when you process the message, then do the following:
-
- - Find the dialog under the window that was "topped" and process
- the dialogs in the background as you would normally.
- - Do an object select/deselect for that window
- - Process the object like it is topped
-
- Simple. :-) This is how XAES handles it, and it works fine.
-
- > Or any other non-standard extensions that come to mind, like cut and paste
- > from text fields, improved character entry verification, multi-line text
- > fields, etc.
-
- And, speaking of cut-and-paste, you can get a demonstration that shows off
- something like this on ftp.sys.uea.ac.uk, under pub/sowerby. Get the file
- "fluid.zoo" and check it out. It's very good, and it shows the idea of
- cut-and-paste for editing objects. As for improved character entry
- verification, that can be done without an objc_edit routine. Multi-line
- text fields cannot be done w/o a custom routine, but it's not hard to do.
-
- -- Ken Hollis (Bitgate Software)
-